from django.urls import path, re_path
from app_blog import views

app_name = 'blog'
urlpatterns = [
    path('<slug:username>/', views.site, name='site'),
    # re_path('(?P<username>.*)/(?P<condition>category|tag|archive)/(?P<params>.*)/', views.site,name='select_article')
    path('<slug:username>/<str:condition>/<slug:params>/', views.site, name='select_article'),
]
